package com.nirvana.admin.controller;

import com.nirvana.common.constant.BaseMessage;
import com.nirvana.common.dto.BaseResponse;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试接口中注解的继承
 *
 * @author: zhangshuaiyin
 * @date: 2021/10/20 22:00
 */
@RestController
public class TestController implements TestManager {

    @Override
    public BaseResponse<?> login() {
        return BaseMessage.SUCCESS.response("接口及其方法的注解会传递给实现类！");
    }
}
